package md.mru.transfer.old.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="NML_FNC" , schema = "mru"
)
public class NmlFnc implements Serializable {

    private static final long serialVersionUID = 5394005454505068870L;

    @Id
    @Column(name = "id", unique = true, nullable = false, precision = 10, scale = 0)
    private long id;

    @Column(name="NME", length=50)
    private String name;

    @Column(name="CTG", precision=10, scale=0)
    private long groupClassification;     // ctg - nml_fp.id

    @Column(name="TPE", precision=2, scale=0)
    private int type;

    @Column(name="FVR", precision=5, scale=0)
    private Integer position;

    @Column(name="ICO", length=50)
    private String icon;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getGroupClassification() {
        return groupClassification;
    }

    public void setGroupClassification(long groupClassification) {
        this.groupClassification = groupClassification;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}


